/* Data type for links in the chain of symbols. */
struct token {
   char *nombre; // name of symbol
   int tipo; // Tipos de token: IF, ELSE, OPLOG, OPASIG, NUMERO, IDENTIFICADOR
   union    {
      double numero; // Valor de una variable
   } valor;
   struct token *next; /* link field */
};

typedef struct token token;

/* The symbol table: a chain of ‘struct symrec’. */
extern token *ts;
token *putToken (char const *, int, double);
token *getToken (char const *);
void deleteTS();
void showTS();
